package com.mrd.gtimp.business.entity;

import com.mrd.gtimp.base.entity.User;

import org.hibernate.annotations.GenericGenerator;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

/**
 * <p>
 * application name: gtimp
 * <p>
 * copyright: Copyright@2012 明睿达科技有限公司
 */
/**
 *
 * @author luob
 */
@Entity(name = "T_BIZ_TAX_INFORM")
public class TaxInform implements Serializable {
	private static final long	serialVersionUID	= 1L;

	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name = "ID")
	private String	          id;
	/**
	 * 出口业务公共ID
	 */
	@Column(name = "BIZ_ID")
	private String	          bizId;
	/**
	 * 真实退单时间
	 */
	@Column(name = "RETURN_DATE")
	private Date	          returnDate;
	/**
	 * 退税单状态，0未退给客户，1已退回
	 */
	@Column(name = "STATE")
	private String	          state;
	/**
	 * 供应商设置的备注
	 */
	@Column(name = "SUP_REMARK")
	private String	          supRemark;

	@Column(name = "RELEASE_DATE")
	private Date	          releaseDate;

	@Column(name = "TAX_BPK")
	private String	          taxBpk;

	@ManyToOne
	@JoinColumn(name = "VALIDATOR_ID")
	private User	          validator;

	@Column(name = "VALIDATOR_EXT")
	private String	          validatorExt;

	/**
	 * 退税单到期提醒标识，0不提醒，1提醒
	 */
	@Column(name = "ALERT_STATE")
	private String	          alertState;

	//private String	          CREATOR;
	//private Date	          CTIME;
	//private String	          MODIFIER;
	//private Date	          MTIME;

	public String getId() {
		return id;
	}

	public void setId(String iD) {
		id = iD;
	}

	public String getBizId() {
		return bizId;
	}

	public void setBizId(String biz_id) {
		this.bizId = biz_id;
	}

	public Date getReturnDate() {
		return returnDate;
	}

	public void setReturnDate(Date returnDate) {
		this.returnDate = returnDate;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getSupRemark() {
		return supRemark;
	}

	public void setSupRemark(String supRemark) {
		this.supRemark = supRemark;
	}

	public Date getReleaseDate() {
		return releaseDate;
	}

	public void setReleaseDate(Date releaseDate) {
		this.releaseDate = releaseDate;
	}

	public String getTaxBpk() {
		return taxBpk;
	}

	public void setTaxBpk(String taxBpk) {
		this.taxBpk = taxBpk;
	}

	public User getValidator() {
		return validator;
	}

	public void setValidator(User validator) {
		this.validator = validator;
	}

	public String getValidatorExt() {
		return validatorExt;
	}

	public void setValidatorExt(String validatorExt) {
		this.validatorExt = validatorExt;
	}

	public String getAlertState() {
		return alertState;
	}

	public void setAlertState(String alertState) {
		this.alertState = alertState;
	}

	/*@Column(updatable = false)
	public String getCREATOR() {
		return CREATOR;
	}
	public void setCREATOR(String cREATOR) {
		CREATOR = cREATOR;
	}

	@Column(updatable = false)
	public Date getCTIME() {
		return CTIME;
	}
	public void setCTIME(Date cTIME) {
		CTIME = cTIME;
	}
	public String getMODIFIER() {
		return MODIFIER;
	}
	public void setMODIFIER(String mODIFIER) {
		MODIFIER = mODIFIER;
	}
	public Date getMTIME() {
		return MTIME;
	}
	public void setMTIME(Date mTIME) {
		MTIME = mTIME;
	}*/
}
